package com.niiwoo.civet.mobile.vo.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * Created by zhangwanli on 2017/9/23.
 *
 */
@Setter
@Getter
@ApiModel
public class ThirdUnBindRequestVO implements Serializable {

    private static final long serialVersionUID = -7295123565632977049L;

    @NotBlank(message = "openId不能为空")
    @ApiModelProperty(value = "第三方平台用户唯一标识：opendId")
    private String openId;

    @NotNull(message = "platformId不能为空")
    @ApiModelProperty(value = "第三方平台标识：1-QQ,2-WeChat,3-Weibo")
    private Byte platformId;}
